var znObj = {
	smallL: "中国",
	sel: [
		"选择语言",
		"英文",
		"中文"
	],
	enterL: "进入全球官网",
	nav: [
		"新闻动态",
		"美食与营养",
		"加盟流程",
		"关于我们",
		"快餐店位置查询"
	],
	navDown: [
		"超值 Value",
		"经典 Classics",
		"精选 Premium",
		"低脂 Low Fat",
		"百味卷 Wrap",
		"沙拉 Salad",
		"聚餐服务 Catering",
		"饮料和小食 Drinks & Sides",
		"早餐 BREAKFAST",
		"营养 Nutrition",
		"如何点餐 How To Order"
	],
	rightFontImg:[
		[
			"./img/pic1.jpg",
			"./img/tbg1.png",
			"./img/t1.png",
			"./img/w1.png"
		],
		[
			"./img/pic2.jpg",
			"./img/tbg2.png",
			"./img/t2.png",
			"./img/w2.png"
		],
		[
			"./img/pic3.jpg",
			"./img/tbg3.png",
			"./img/t3.png",
			"./img/w3.png"
		]
	],
	footerImgArr: {
		normal:[
			"url(./img/home-box-1_CN.jpg)",
			"url(./img/home-box-2_CN.jpg)",
			"url(./img/home-box-3_CN.jpg)",
			"url(./img/weibo_CN.jpg)",
			"url(./img/weixin_CN.jpg)"
		],
		hover: [
			"url(./img/home-box-1_CN_hover.jpg)",
			"url(./img/home-box-2_CN_hover.jpg)",
			"url(./img/home-box-3_CN_hover.jpg)",
			"url(./img/weibo_CN_hover.jpg)",
			"url(./img/weixin_CN_hover.jpg)"
		]
	},
	contact:[
		[
			"主页",
			"菜单\/营养",
			"如何加盟",
			"关于我们",
			"快餐店位置查询"
		],
		[
			"联系我们",
			"使用条款",
			"隐私权政策",
			"SUBWAY Partners™"
		]
	]
}

// 英文
var enObj = {
	smallL: "CHINA",
	sel: [
		"Select Language",
		"English",
		"Chinese"
	], 
	enterL: "SUBWAY.COM",
	nav: [
		"News",
		"Menu/Nutrition",
		"Development",
		"About Us",
		"Restaurant Locator"
	],
	navDown: [
		"Value",
		"Classics",
		"Premium",
		"Low Fat",
		"Wrap",
		"Salad",
		"Catering",
		"Drinks & Sides",
		"BREAKFAST",
		"Nutrition",
		"How To Order"
	],
	rightFontImg:[
		[
			"./img/pic1.jpg",
			"./img/tbg1.png",
			"./img/en_t1.png",
			"./img/en_w1.png"
		],
		[
			"./img/pic2.jpg",
			"./img/tbg2.png",
			"./img/en_t2.png",
			"./img/en_w2.png"
		],
		[
			"./img/pic3.jpg",
			"./img/tbg3.png",
			"./img/en_t3.png",
			"./img/en_w3.png"
		]
	],
	footerImgArr: {
		normal:[
			"url(./img/home-box-1_EN.jpg)",
			"url(./img/home-box-2_EN.jpg)",
			"url(./img/home-box-3_EN.jpg)",
			"url(./img/weibo_EN.jpg)",
			"url(./img/weixin_EN.jpg)"
		],
		hover: [
			"url(./img/home-box-1_EN_hover.jpg)",
			"url(./img/home-box-2_EN_hover.jpg)",
			"url(./img/home-box-3_EN_hover.jpg)",
			"url(./img/weibo_EN_hover.jpg)",
			"url(./img/weixin_EN_hover.jpg)"
		]
	},
	contact:[
		[
			"Home",
			"Menu/Nutrition",
			"Development",
			"About Us",
			"Restaurant Locator"
		],
		[
			"Contact Us",
			"Terms Of Use",
			"Privacy Policy",
			"SUBWAY Partners™"
		]
	]
}

function getNowLanguage(){
	var nowObj;
				// 获取当前语言JSON对象
				if (localStorage.lan == "English" || localStorage.lan == "英文"){
					nowObj = enObj;
				} else if (localStorage.lan == "中文" || localStorage.lan == "Chinese"){
					nowObj = znObj;
				}
				
	return nowObj;
}
